[ Mega Script Archive ] [ Frequently Asked Questions ] [ Animation ]

What does the line print "HTTP/1.0 200 OK\n"; do?

  • Short Answer:

    A simple response header telling the client everything is ok. Similar to other things like 403 Not found, 501 Server Error, Etc.

    Long Answer:

    If you have the filename set to something that begins with nph-, then this header response is necessary in order to tell the client that everything is ok. If you choose to name your file something other than a filename that begins with nph-, you should simply comment this line out of the perl script by putting a # sign in the front of the line.


[ Mega Script Archive ]